const webpack = require("webpack");
module.exports = {
  publicPath: "./",
  devServer: {
    port: "8082", //代理端口
    proxy: {
      "/api": {
        //代理api
        target: "http://192.168.18.84:5007", // 代理接口
        changeOrigin: true, //是否跨域
        ws: true, // proxy websockets
      },
    },
  },
  productionSourceMap: false, //打包不生成map
};
